package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 安保设施对象 tb_security
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "Security", description = "安保设施")
public class Security implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 安保主键 */
    @ApiModelProperty("安保主键")
    private Long id;

    /** 安保项目名称 */
    @Excel(name = "安保项目名称")
    @ApiModelProperty("安保项目名称")
    private String security;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSecurity(String security)
    {
        this.security = security;
    }

    public String getSecurity()
    {
        return security;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("security", getSecurity())
            .toString();
    }
}
